package com.atguigu.a_operator;

public class Demo2 {
    public static void main(String[] args) {
        System.out.println("3" + "5");
        System.out.println("Hello" + "World");


        System.out.println("Hello" + 100 + 200);
        System.out.println(100 + 200 + "Hello");

        System.out.println('A' + "Hello");//AHello

        //字符串拼接的适用场景
        int age = 18;
        System.out.println("年龄是 : " + age);
        //快捷代码 : .soutv
        System.out.println("age = " + age);

        System.out.println("age = " + age);
    }
}
